package org.cb.core;

import java.io.File;
import java.io.FileFilter;

/**
 * 
 * @author Fsig
 * 
 * Filter out the classes.
 *
 */
public class CBClassFilter implements FileFilter {
	
	public boolean accept(File f) {
		String name = f.getName();
		return f.isDirectory() || (name.endsWith(".class") && name.indexOf("$") == -1);
	}
}
